﻿@page "/products"
@inherits BComponentBase
<BButtonGroup>
    <BButton Type="ButtonType.Primary" Text="添加" OnClick="ShowCreateWindowAsync"></BButton>
    <BButton Type="ButtonType.Danger" Text="删除" OnClick="DeleteAsync"></BButton>
</BButtonGroup>
<BTable DataSource="products" EnableAlwaysRender="true" @bind-SelectedRows="selectedProducts" OnRowDblClick="BeginEditAsync"></BTable>